<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        let set1 = new Set([1,2,3,4,6,6,]);
        console.log(set1);
        let a = set1.add(9);
        console.log(a);
        console.log(set1);
        
        let b =set1.delete(1);
        console.log(b);
        console.log(set1);
        
        let c=set1.has(4) ;
        console.log(c);
        console.log(set1);
        
        let d = set1.clear();
        console.log(d);
        console.log(set1);
        
    </script>
</body>
</html>